<?php
//powered by chinieer for cherishing the memory of geopolitics database

//假如没必要请不要执行此页面
  require_once('sql-config.class.php'); 
  
  $db = new mysql();
  $query = $db->fn_select_all();
  while($row = $db->fetch_assoc($query)){  	
  	$initial = $db->getfirstchar($row['title']);
  	$db->fn_update_initial($row['id'],$initial);
  	echo $row['id']."----------------".$initial."------------".$row['title']."<br/>";
  	 
  }
  
 


           